//
//  HKHealthStore+Extension.h
//  Health
//
//  Created by LeeJay on 16/8/24.
//  Copyright © 2016年 LeeJay. All rights reserved.
//

#import <HealthKit/HealthKit.h>

@interface HKHealthStore (Extension)

- (void)mostRecentQuantitySampleOfType:(HKQuantityType *)quantityType
                             predicate:(NSPredicate *)predicate
                            completion:(void (^)(HKQuantity *mostRecentQuantity, NSError *error))completion;

- (void)getStepCountStartDate:(NSDate *)startDate
                      endDate:(NSDate *)endDate
                      success:(void (^)(NSArray *results))success
                      failure:(void (^)(NSError *error))failure;
@end
